<!DOCTYPE html>
<html lang="cn">
	<head>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta charset="utf-8" />
		<meta name="description" content="overview &amp; stats" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
		<script type="text/javascript">
			try {
				window.jQuery || (window.$ = window.jQuery = require('./assets/js/jquery.js'));
			} catch (error) {
				window.jQuery || document.write("<script src='./assets/js/jquery.js'>" + "<"+"/script>");
			}
		</script>
		<script src="./js/jquery.window.reference.js"></script>
		<link rel="stylesheet" type="text/css" href="./js/tabs/bootstrap.addtabs.css" />
	</head>

	<body class="no-skin" style="overflow:hidden; ">
		<div class="main-container" id="main-container">
			<script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
			</script>
			<div id="main-content" class="main-content"> 
                <div class="page-content">
                    <div id="pagemain" class="page-content-area" data-ajax-content=true></div>
                </div>
			</div>
		</div>
		<script>
			if(window.frameElement && window.frameElement.tagName == "IFRAME") {
					$(window.frameElement).load(function(){
						var tabs = $.parseJSON(localStorage.getItem('addtabs_defaultTabs'));
						var active;
						$.each(tabs, function (k, t) {
							if (t.active) 
								active = k;
						});
						if(window.frameElement.parentNode.getAttribute('id')!=active){
							window.frameElement.parentElement.setAttribute('Class',"tab-pane content");
							window.frameElement.parentElement.parentElement.parentElement.querySelector("#tab_"+active).setAttribute('Class','active');
						}	
					});
			}
		</script>
	</body>
</html>
